//
//  HttpRequest.h
//  Inforcollection
//
//  Created by macbook on 15/12/3.
//  Copyright © 2015年 oceansoft.liw. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface HttpRequest : AFHTTPRequestOperationManager


+(instancetype)shareRequest;

//get请求方式
-(AFHTTPRequestOperation *)getJsonWithUrl:(NSString *)url WithParameters:(NSDictionary *)parameters complete:(void(^)(id receivedData,NSError *error))complete;

- (AFHTTPRequestOperation *)fetchJSONForURLString:(NSString *)URLString
                                       Parameters:(NSDictionary *)parameters
                                       completion:(void (^)(id receivedData, NSError *error))completion;

@end
